vcCollisionManager
vcCollisionManager is a class that moitors existing active vcCollisionDetector.OnCollision events. When manager is active and detectors are active, it can be used as a single source to monitor collision events from those detectors.
See in: Overview
Module: vcCore
Parent: vcObject
Children -
Referenced by: vcWorld.CollisionManager
Properties
Learn how to use properties here. The properties are also inherited from the parent class.
| Name | Type | Access | Description |
| Active | Boolean | R | Gets a value indicating whether this manager is actively monitoring collisions. |
Methods
Learn how to use methods here. The methods are also inherited from the parent class.
| Name | Return Type | Parameters | Description |
| start | None | None | Starts monitoring for active collision detector OnCollision events. |
| stop | None | None | Stops monitoring for events. |
Events
Learn how to use events here. The events are also inherited from the parent class.
| Name | Parameters | Description |
| OnCollision | vcCollisionDetector detector, list[vcCollisionRecord] collisionRecords | Triggered when a collision is detected.See moreParameters: detector (vcCollisionDetector): Detector that triggered collision event. collisionRecords (list[vcCollisionRecord]): List of vcCollisionRecord that produced given detector. |